using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Toon.Models.Catalogs;

namespace Toon.Models.Tests.Catalogs
{
	
	[TestClass]
	public partial class AttributeDefinitionCollectionTests 
	{

		///<summary>
		/// Create an object for use in other tests.
		///</summary>
		public Toon.Models.Catalogs.AttributeDefinitionCollection CreateObject()
		{
			var result = new StandardCatalog();
			return result.Attributes;
		}
		

		/// <summary>
		/// Returns the object populated with five unique items
		/// </summary>
		/// <returns></returns>
		public AttributeDefinitionCollection CreateCollection()
		{
			var result = new List<AttributeDefinition>();
			result.Add(new AttributeDefinition("A", new List<string>()));
			result.Add(new AttributeDefinition("B", new List<string>()));
			result.Add(new AttributeDefinition("C", new List<string>()));
			result.Add(new AttributeDefinition("D", new List<string>()));
			result.Add(new AttributeDefinition("E", new List<string>()));

			return new AttributeDefinitionCollection(result);
		}
				

	}
}
